package com.stylefeng.guns.modular.customer.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.system.model.Visit;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface VisitDao {

    List<Map<String,Object>> page(@Param("page") Page<Visit> page,
                                  @Param("customerCompanyId") Integer customerCompanyId,
                                  @Param("creatorId") Integer creatorId,
                                  @Param("begin_visitDate") String begin_visitDate,
                                  @Param("end_visitDate") String end_visitDate,
                                  @Param("key") String key,
                                  @Param("feedback") Integer feedback);

    List<Map<String,Object>> selectByCompanyId(@Param("companyId") Integer companyId);

}
